<template>
  <div class="card">
    <p class="card__content">
      <slot />
    </p>
  </div>
</template>

<style scoped>
.card {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  margin: 5px 0;
  min-height: 200px;
  border-radius: 10px;
  background-color: #87cefa;
}

.card__content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 5px 20px 10px;
  box-sizing: border-box;
  background-color: #fff;
}
</style>